package com.atguigu.spzx.manage.service.impl;

import com.atguigu.spzx.model.entity.system.Event;
import com.atguigu.spzx.manage.mapper.ClientEventMapper;
import com.atguigu.spzx.manage.service.ClientEventService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ClientEventServiceImpl implements ClientEventService {
    @Autowired
    private ClientEventMapper clientEventMapper;

    @Override
    public List<Event> getIsHotEventLimit4() {
        List<Event> isHotEventLimit4=clientEventMapper.getIsHotEventLimit4();

        return isHotEventLimit4;
    }

    @Override
    public List<Event> getRecentEventLimit4() {
        List<Event> recentEventLimit4List=clientEventMapper.getRecentEventLimit4();

        return recentEventLimit4List;
    }

    @Override
    public List<Event> getLateEventLimit4() {
        List<Event> lateEventLimit4List=clientEventMapper.getLateEventLimit4();
        return lateEventLimit4List;
    }
}
